<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FabGL: ps2controller.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">FabGL
   </div>
   <div id="projectbrief">ESP32 Display Controller and Graphics Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('ps2controller_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">ps2controller.h</div></div>
</div><!--header-->
<div class="contents">
<a href="ps2controller_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">  Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - &lt;http://www.fabgl.com&gt;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">  Copyright (c) 2019-2022 Fabrizio Di Vittorio.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">  All rights reserved.</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"></span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment"></span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">* Please contact fdivitto2013@gmail.com if you need a commercial license.</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment"></span> </div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"></span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment">* This library and related software is available under GPL v3.</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment"></span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">  FabGL is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment">  it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment">  the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment">  (at your option) any later version.</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment"></span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment">  FabGL is distributed in the hope that it will be useful,</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment">  but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment">  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment">  GNU General Public License for more details.</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment"></span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="comment">  You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="comment">  along with FabGL.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment"> */</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#include &quot;freertos/FreeRTOS.h&quot;</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="preprocessor">#include &quot;freertos/task.h&quot;</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="preprocessor">#include &quot;freertos/timers.h&quot;</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="preprocessor">#include &quot;<a class="code" href="fabutils_8h.html">fabutils.h</a>&quot;</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="preprocessor">#include &quot;<a class="code" href="fabglconf_8h.html">fabglconf.h</a>&quot;</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="keyword">namespace </span>fabgl {</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#gaca5d0f920057bf01d133384645a654da">   52</a></span><span class="keyword">enum class</span> <a class="code hl_enumeration" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#gaca5d0f920057bf01d133384645a654da">PS2Preset</a> {</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>  <a class="code hl_enumvalue" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa930833460d824d9daf937c25c8b7ed74">KeyboardPort0_MousePort1</a>,   </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>  <a class="code hl_enumvalue" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daab76bbc57fe0157e929fd128e8a53f907">KeyboardPort1_MousePort0</a>,   </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>  <a class="code hl_enumvalue" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa140efa5bba007b81c709c0dc5f443ef7">KeyboardPort0</a>,              </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>  <a class="code hl_enumvalue" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa57f4b4de9e4e8642525f0cd7c991283d">KeyboardPort1</a>,              </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>  <a class="code hl_enumvalue" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daab315933e6f8a71499678887626ae5fd4">MousePort0</a>,                 </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>  <a class="code hl_enumvalue" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa0e528e35537f6d49cb912f4bcaaf5c12">MousePort1</a>,                 </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>};</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#ga5d7071ad7a22fa20e52ba3e855cb4cff">   65</a></span><span class="keyword">enum class</span> <a class="code hl_enumeration" href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#ga5d7071ad7a22fa20e52ba3e855cb4cff">KbdMode</a> {</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>  <a class="code hl_enumvalue" href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#gga5d7071ad7a22fa20e52ba3e855cb4cffadaa64f7602ad3caa98f09799e3e683b1">NoVirtualKeys</a>,           </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>  <a class="code hl_enumvalue" href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#gga5d7071ad7a22fa20e52ba3e855cb4cffa14554899c6e943f788d3652c4c0e11e4">GenerateVirtualKeys</a>,     </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>  <a class="code hl_enumvalue" href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#gga5d7071ad7a22fa20e52ba3e855cb4cffa382b3f9e2c83958197e451c23d848f97">CreateVirtualKeysQueue</a>,  </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>};</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span><span class="keyword">class </span>Keyboard;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="keyword">class </span>Mouse;</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classfabgl_1_1_p_s2_controller.html">   82</a></span><span class="keyword">class </span><a class="code hl_class" href="classfabgl_1_1_p_s2_controller.html">PS2Controller</a> {</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>  <a class="code hl_class" href="classfabgl_1_1_p_s2_controller.html">PS2Controller</a>();</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>  <a class="code hl_class" href="classfabgl_1_1_p_s2_controller.html">~PS2Controller</a>();</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>  <span class="comment">// unwanted methods</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>  <a class="code hl_class" href="classfabgl_1_1_p_s2_controller.html">PS2Controller</a>(<a class="code hl_class" href="classfabgl_1_1_p_s2_controller.html">PS2Controller</a> <span class="keyword">const</span>&amp;)   = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>  <span class="keywordtype">void</span> operator=(<a class="code hl_class" href="classfabgl_1_1_p_s2_controller.html">PS2Controller</a> <span class="keyword">const</span>&amp;)  = <span class="keyword">delete</span>;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_ab8520612804a921ad834b41214a99c09.html#ab8520612804a921ad834b41214a99c09">begin</a>(gpio_num_t port0_clkGPIO, gpio_num_t port0_datGPIO, gpio_num_t port1_clkGPIO = GPIO_UNUSED, gpio_num_t port1_datGPIO = GPIO_UNUSED);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_ab8520612804a921ad834b41214a99c09.html#ab8520612804a921ad834b41214a99c09">begin</a>(<a class="code hl_enumeration" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#gaca5d0f920057bf01d133384645a654da">PS2Preset</a> preset = <a class="code hl_enumvalue" href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa930833460d824d9daf937c25c8b7ed74">PS2Preset::KeyboardPort0_MousePort1</a>, <a class="code hl_enumeration" href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#ga5d7071ad7a22fa20e52ba3e855cb4cff">KbdMode</a> keyboardMode = <a class="code hl_enumvalue" href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#gga5d7071ad7a22fa20e52ba3e855cb4cffa382b3f9e2c83958197e451c23d848f97">KbdMode::CreateVirtualKeysQueue</a>);</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span> </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> end();</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> initialized() { <span class="keywordflow">return</span> s_initDone; }</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_af28e64e8efcf41c65043da5a1659fe79.html#af28e64e8efcf41c65043da5a1659fe79">dataAvailable</a>(<span class="keywordtype">int</span> PS2Port);</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_ae8b89edd051fb303d479797506958ab4.html#ae8b89edd051fb303d479797506958ab4">getData</a>(<span class="keywordtype">int</span> PS2Port, <span class="keywordtype">int</span> timeOutMS);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_a1aec7cc0cf5296ccfacd12a38bdd0485.html#a1aec7cc0cf5296ccfacd12a38bdd0485">sendData</a>(uint8_t <a class="code hl_variable" href="displaycontroller_8h_a96db82e580e46e24e2b39dd6c5bf7c21.html#a96db82e580e46e24e2b39dd6c5bf7c21">data</a>, <span class="keywordtype">int</span> PS2Port);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_a6c687ceea5dc73f9c2cfee2c0b5ebe34.html#a6c687ceea5dc73f9c2cfee2c0b5ebe34">disableRX</a>(<span class="keywordtype">int</span> PS2Port);</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_afbd77f408f7e0e90acad462c6b31b151.html#afbd77f408f7e0e90acad462c6b31b151">enableRX</a>(<span class="keywordtype">int</span> PS2Port);</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="classfabgl_1_1_p_s2_controller_a9e4c9b217d63aeaf19870e5f88c88d9e.html#a9e4c9b217d63aeaf19870e5f88c88d9e">  179</a></span>  <span class="keyword">static</span> <a class="code hl_class" href="classfabgl_1_1_keyboard.html">Keyboard</a> * <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_a9e4c9b217d63aeaf19870e5f88c88d9e.html#a9e4c9b217d63aeaf19870e5f88c88d9e">keyboard</a>()                { <span class="keywordflow">return</span> s_keyboard; }</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> setKeyboard(<a class="code hl_class" href="classfabgl_1_1_keyboard.html">Keyboard</a> * value)   { s_keyboard = value; }</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span> </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="classfabgl_1_1_p_s2_controller_a11a1921444fc60b10cf161f433b55499.html#a11a1921444fc60b10cf161f433b55499">  188</a></span>  <span class="keyword">static</span> <a class="code hl_class" href="classfabgl_1_1_mouse.html">Mouse</a> * <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_a11a1921444fc60b10cf161f433b55499.html#a11a1921444fc60b10cf161f433b55499">mouse</a>()                      { <span class="keywordflow">return</span> s_mouse; }</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span> </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> setMouse(<a class="code hl_class" href="classfabgl_1_1_mouse.html">Mouse</a> * value)         { s_mouse = value; }</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="classfabgl_1_1_p_s2_controller_ab7edd03d6ed3b8e198f534703afd95e4.html#ab7edd03d6ed3b8e198f534703afd95e4">  197</a></span>  <span class="keyword">static</span> <a class="code hl_class" href="classfabgl_1_1_p_s2_controller.html">PS2Controller</a> * <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_ab7edd03d6ed3b8e198f534703afd95e4.html#ab7edd03d6ed3b8e198f534703afd95e4">instance</a>()           { <span class="keywordflow">return</span> s_instance; }</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span> </div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> parityError(<span class="keywordtype">int</span> PS2Port)        { <span class="keywordflow">return</span> s_parityError[PS2Port]; }</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> syncError(<span class="keywordtype">int</span> PS2Port)          { <span class="keywordflow">return</span> s_syncError[PS2Port]; }</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> CLKTimeOutError(<span class="keywordtype">int</span> PS2Port)    { <span class="keywordflow">return</span> s_CLKTimeOutError[PS2Port]; }</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span> </div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_a6142e99b5efb8d565ffea27b6fb50315.html#a6142e99b5efb8d565ffea27b6fb50315">lock</a>(<span class="keywordtype">int</span> PS2Port, <span class="keywordtype">int</span> timeOutMS);</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span> </div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_ab247f0736097d58dd4625fb2de3e05b6.html#ab247f0736097d58dd4625fb2de3e05b6">unlock</a>(<span class="keywordtype">int</span> PS2Port);</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span> </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span> </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> IRAM_ATTR ULPWakeISR(<span class="keywordtype">void</span> * arg);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span>  <span class="keyword">static</span> PS2Controller *    s_instance;</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span>  <span class="comment">// Keyboard and Mouse instances can be created by PS2Controller in one of the begin() calls, or can be</span></div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span>  <span class="comment">// set using setKeyboard() and setMouse() calls.</span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span>  <span class="keyword">static</span> Keyboard *         s_keyboard;</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span>  <span class="keyword">static</span> Mouse *            s_mouse;</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span> </div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span>               s_keyboardAllocated;</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span>               s_mouseAllocated;</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span> </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span>               s_portEnabled[2];</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span> </div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span>  <span class="keyword">static</span> intr_handle_t      s_ULPWakeISRHandle;</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span> </div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span>  <span class="comment">// true if last call to getData() had a parity, sync error (start or stop missing bits) or CLK timeout</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span>               s_parityError[2];</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span>               s_syncError[2];</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span>               s_CLKTimeOutError[2];</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span> </div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span>  <span class="comment">// one word queue (contains just the last received word)</span></div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span>  <span class="keyword">static</span> QueueHandle_t      s_dataIn[2];</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno">  249</span> </div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span>  <span class="keyword">static</span> SemaphoreHandle_t  s_portLock[2];</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span> </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span>               s_initDone;</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span> </div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span>};</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span> </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span><span class="keyword">struct </span>PS2PortAutoDisableRX {</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span>  PS2PortAutoDisableRX(<span class="keywordtype">int</span> PS2Port) : port(PS2Port) {</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span>    <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_a6c687ceea5dc73f9c2cfee2c0b5ebe34.html#a6c687ceea5dc73f9c2cfee2c0b5ebe34">PS2Controller::disableRX</a>(port);</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>  }</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span>  ~PS2PortAutoDisableRX() {</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span>    <a class="code hl_function" href="classfabgl_1_1_p_s2_controller_afbd77f408f7e0e90acad462c6b31b151.html#afbd77f408f7e0e90acad462c6b31b151">PS2Controller::enableRX</a>(port);</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>  }</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>  <span class="keywordtype">int</span> port;</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span>};</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span> </div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span> </div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span> </div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span>} <span class="comment">// end of namespace</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span> </div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span> </div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span> </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span> </div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span> </div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span> </div>
<div class="ttc" id="aclassfabgl_1_1_keyboard_html"><div class="ttname"><a href="classfabgl_1_1_keyboard.html">fabgl::Keyboard</a></div><div class="ttdoc">The PS2 Keyboard controller class.</div><div class="ttdef"><b>Definition:</b> <a href="keyboard_8h_source.html#l00077">keyboard.h:77</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_mouse_html"><div class="ttname"><a href="classfabgl_1_1_mouse.html">fabgl::Mouse</a></div><div class="ttdoc">The PS2 Mouse controller class.</div><div class="ttdef"><b>Definition:</b> <a href="mouse_8h_source.html#l00111">mouse.h:111</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_a11a1921444fc60b10cf161f433b55499_html_a11a1921444fc60b10cf161f433b55499"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_a11a1921444fc60b10cf161f433b55499.html#a11a1921444fc60b10cf161f433b55499">fabgl::PS2Controller::mouse</a></div><div class="ttdeci">static Mouse * mouse()</div><div class="ttdoc">Returns the instance of Mouse object automatically created by PS2Controller.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8h_source.html#l00188">ps2controller.h:188</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_a1aec7cc0cf5296ccfacd12a38bdd0485_html_a1aec7cc0cf5296ccfacd12a38bdd0485"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_a1aec7cc0cf5296ccfacd12a38bdd0485.html#a1aec7cc0cf5296ccfacd12a38bdd0485">fabgl::PS2Controller::sendData</a></div><div class="ttdeci">static void sendData(uint8_t data, int PS2Port)</div><div class="ttdoc">Sends a command to the device.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8cpp_source.html#l01323">ps2controller.cpp:1323</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_a6142e99b5efb8d565ffea27b6fb50315_html_a6142e99b5efb8d565ffea27b6fb50315"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_a6142e99b5efb8d565ffea27b6fb50315.html#a6142e99b5efb8d565ffea27b6fb50315">fabgl::PS2Controller::lock</a></div><div class="ttdeci">static bool lock(int PS2Port, int timeOutMS)</div><div class="ttdoc">Gets exclusive access to the specified PS/2 port.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8cpp_source.html#l01332">ps2controller.cpp:1332</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_a6c687ceea5dc73f9c2cfee2c0b5ebe34_html_a6c687ceea5dc73f9c2cfee2c0b5ebe34"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_a6c687ceea5dc73f9c2cfee2c0b5ebe34.html#a6c687ceea5dc73f9c2cfee2c0b5ebe34">fabgl::PS2Controller::disableRX</a></div><div class="ttdeci">static void disableRX(int PS2Port)</div><div class="ttdoc">Disables inputs from PS/2 port driving the CLK line Low.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8cpp_source.html#l01270">ps2controller.cpp:1270</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_a9e4c9b217d63aeaf19870e5f88c88d9e_html_a9e4c9b217d63aeaf19870e5f88c88d9e"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_a9e4c9b217d63aeaf19870e5f88c88d9e.html#a9e4c9b217d63aeaf19870e5f88c88d9e">fabgl::PS2Controller::keyboard</a></div><div class="ttdeci">static Keyboard * keyboard()</div><div class="ttdoc">Returns the instance of Keyboard object automatically created by PS2Controller.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8h_source.html#l00179">ps2controller.h:179</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_ab247f0736097d58dd4625fb2de3e05b6_html_ab247f0736097d58dd4625fb2de3e05b6"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_ab247f0736097d58dd4625fb2de3e05b6.html#ab247f0736097d58dd4625fb2de3e05b6">fabgl::PS2Controller::unlock</a></div><div class="ttdeci">static void unlock(int PS2Port)</div><div class="ttdoc">Releases port from exclusive access.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8cpp_source.html#l01338">ps2controller.cpp:1338</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_ab7edd03d6ed3b8e198f534703afd95e4_html_ab7edd03d6ed3b8e198f534703afd95e4"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_ab7edd03d6ed3b8e198f534703afd95e4.html#ab7edd03d6ed3b8e198f534703afd95e4">fabgl::PS2Controller::instance</a></div><div class="ttdeci">static PS2Controller * instance()</div><div class="ttdoc">Returns the singleton instance of PS2Controller class.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8h_source.html#l00197">ps2controller.h:197</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_ab8520612804a921ad834b41214a99c09_html_ab8520612804a921ad834b41214a99c09"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_ab8520612804a921ad834b41214a99c09.html#ab8520612804a921ad834b41214a99c09">fabgl::PS2Controller::begin</a></div><div class="ttdeci">static void begin(gpio_num_t port0_clkGPIO, gpio_num_t port0_datGPIO, gpio_num_t port1_clkGPIO=GPIO_UNUSED, gpio_num_t port1_datGPIO=GPIO_UNUSED)</div><div class="ttdoc">Initializes PS2 device controller.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8cpp_source.html#l01115">ps2controller.cpp:1115</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_ae8b89edd051fb303d479797506958ab4_html_ae8b89edd051fb303d479797506958ab4"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_ae8b89edd051fb303d479797506958ab4.html#ae8b89edd051fb303d479797506958ab4">fabgl::PS2Controller::getData</a></div><div class="ttdeci">static int getData(int PS2Port, int timeOutMS)</div><div class="ttdoc">Gets a scancode from the queue.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8cpp_source.html#l01294">ps2controller.cpp:1294</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_af28e64e8efcf41c65043da5a1659fe79_html_af28e64e8efcf41c65043da5a1659fe79"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_af28e64e8efcf41c65043da5a1659fe79.html#af28e64e8efcf41c65043da5a1659fe79">fabgl::PS2Controller::dataAvailable</a></div><div class="ttdeci">static bool dataAvailable(int PS2Port)</div><div class="ttdoc">Determines if one byte has been received from the specified port.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8cpp_source.html#l01287">ps2controller.cpp:1287</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_afbd77f408f7e0e90acad462c6b31b151_html_afbd77f408f7e0e90acad462c6b31b151"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller_afbd77f408f7e0e90acad462c6b31b151.html#afbd77f408f7e0e90acad462c6b31b151">fabgl::PS2Controller::enableRX</a></div><div class="ttdeci">static void enableRX(int PS2Port)</div><div class="ttdoc">Enables inputs from PS/2 port releasing CLK line.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8cpp_source.html#l01277">ps2controller.cpp:1277</a></div></div>
<div class="ttc" id="aclassfabgl_1_1_p_s2_controller_html"><div class="ttname"><a href="classfabgl_1_1_p_s2_controller.html">fabgl::PS2Controller</a></div><div class="ttdoc">The PS2 device controller class.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8h_source.html#l00082">ps2controller.h:82</a></div></div>
<div class="ttc" id="adisplaycontroller_8h_a96db82e580e46e24e2b39dd6c5bf7c21_html_a96db82e580e46e24e2b39dd6c5bf7c21"><div class="ttname"><a href="displaycontroller_8h_a96db82e580e46e24e2b39dd6c5bf7c21.html#a96db82e580e46e24e2b39dd6c5bf7c21">data</a></div><div class="ttdeci">uint8_t const  * data</div><div class="ttdef"><b>Definition:</b> <a href="displaycontroller_8h_source.html#l00004">displaycontroller.h:4</a></div></div>
<div class="ttc" id="afabglconf_8h_html"><div class="ttname"><a href="fabglconf_8h.html">fabglconf.h</a></div><div class="ttdoc">This file contains FabGL library configuration settings, like number of supported colors,...</div></div>
<div class="ttc" id="afabutils_8h_html"><div class="ttname"><a href="fabutils_8h.html">fabutils.h</a></div><div class="ttdoc">This file contains some utility classes and functions.</div></div>
<div class="ttc" id="agroup___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff_html_ga5d7071ad7a22fa20e52ba3e855cb4cff"><div class="ttname"><a href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#ga5d7071ad7a22fa20e52ba3e855cb4cff">fabgl::KbdMode</a></div><div class="ttdeci">KbdMode</div><div class="ttdoc">This enum defines how handle keyboard virtual keys.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8h_source.html#l00065">ps2controller.h:65</a></div></div>
<div class="ttc" id="agroup___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff_html_gga5d7071ad7a22fa20e52ba3e855cb4cffa14554899c6e943f788d3652c4c0e11e4"><div class="ttname"><a href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#gga5d7071ad7a22fa20e52ba3e855cb4cffa14554899c6e943f788d3652c4c0e11e4">fabgl::KbdMode::GenerateVirtualKeys</a></div><div class="ttdeci">@ GenerateVirtualKeys</div></div>
<div class="ttc" id="agroup___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff_html_gga5d7071ad7a22fa20e52ba3e855cb4cffa382b3f9e2c83958197e451c23d848f97"><div class="ttname"><a href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#gga5d7071ad7a22fa20e52ba3e855cb4cffa382b3f9e2c83958197e451c23d848f97">fabgl::KbdMode::CreateVirtualKeysQueue</a></div><div class="ttdeci">@ CreateVirtualKeysQueue</div></div>
<div class="ttc" id="agroup___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff_html_gga5d7071ad7a22fa20e52ba3e855cb4cffadaa64f7602ad3caa98f09799e3e683b1"><div class="ttname"><a href="group___enumerations_ga5d7071ad7a22fa20e52ba3e855cb4cff.html#gga5d7071ad7a22fa20e52ba3e855cb4cffadaa64f7602ad3caa98f09799e3e683b1">fabgl::KbdMode::NoVirtualKeys</a></div><div class="ttdeci">@ NoVirtualKeys</div></div>
<div class="ttc" id="agroup___enumerations_gaca5d0f920057bf01d133384645a654da_html_gaca5d0f920057bf01d133384645a654da"><div class="ttname"><a href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#gaca5d0f920057bf01d133384645a654da">fabgl::PS2Preset</a></div><div class="ttdeci">PS2Preset</div><div class="ttdoc">This enum defines what is connected to PS/2 ports.</div><div class="ttdef"><b>Definition:</b> <a href="ps2controller_8h_source.html#l00052">ps2controller.h:52</a></div></div>
<div class="ttc" id="agroup___enumerations_gaca5d0f920057bf01d133384645a654da_html_ggaca5d0f920057bf01d133384645a654daa0e528e35537f6d49cb912f4bcaaf5c12"><div class="ttname"><a href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa0e528e35537f6d49cb912f4bcaaf5c12">fabgl::PS2Preset::MousePort1</a></div><div class="ttdeci">@ MousePort1</div></div>
<div class="ttc" id="agroup___enumerations_gaca5d0f920057bf01d133384645a654da_html_ggaca5d0f920057bf01d133384645a654daa140efa5bba007b81c709c0dc5f443ef7"><div class="ttname"><a href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa140efa5bba007b81c709c0dc5f443ef7">fabgl::PS2Preset::KeyboardPort0</a></div><div class="ttdeci">@ KeyboardPort0</div></div>
<div class="ttc" id="agroup___enumerations_gaca5d0f920057bf01d133384645a654da_html_ggaca5d0f920057bf01d133384645a654daa57f4b4de9e4e8642525f0cd7c991283d"><div class="ttname"><a href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa57f4b4de9e4e8642525f0cd7c991283d">fabgl::PS2Preset::KeyboardPort1</a></div><div class="ttdeci">@ KeyboardPort1</div></div>
<div class="ttc" id="agroup___enumerations_gaca5d0f920057bf01d133384645a654da_html_ggaca5d0f920057bf01d133384645a654daa930833460d824d9daf937c25c8b7ed74"><div class="ttname"><a href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daa930833460d824d9daf937c25c8b7ed74">fabgl::PS2Preset::KeyboardPort0_MousePort1</a></div><div class="ttdeci">@ KeyboardPort0_MousePort1</div></div>
<div class="ttc" id="agroup___enumerations_gaca5d0f920057bf01d133384645a654da_html_ggaca5d0f920057bf01d133384645a654daab315933e6f8a71499678887626ae5fd4"><div class="ttname"><a href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daab315933e6f8a71499678887626ae5fd4">fabgl::PS2Preset::MousePort0</a></div><div class="ttdeci">@ MousePort0</div></div>
<div class="ttc" id="agroup___enumerations_gaca5d0f920057bf01d133384645a654da_html_ggaca5d0f920057bf01d133384645a654daab76bbc57fe0157e929fd128e8a53f907"><div class="ttname"><a href="group___enumerations_gaca5d0f920057bf01d133384645a654da.html#ggaca5d0f920057bf01d133384645a654daab76bbc57fe0157e929fd128e8a53f907">fabgl::PS2Preset::KeyboardPort1_MousePort0</a></div><div class="ttdeci">@ KeyboardPort1_MousePort0</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b741fed86bf5fa30eab98075f2fe4281.html">comdrivers</a></li><li class="navelem"><a class="el" href="ps2controller_8h.html">ps2controller.h</a></li>
    <li class="footer">Generated on Mon Aug 29 2022 13:52:04 for FabGL by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3 </li>
  </ul>
</div>
</body>
</html>
